package com.doubi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.doubi.entity.Inform;
import com.doubi.mapper.InformMapper;
import com.doubi.service.InformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InformServiceImpl extends ServiceImpl<InformMapper, Inform> implements InformService {
    @Autowired
    private InformMapper informMapper;

    @Override
    public List<Inform> getIsManyPeople(Integer buid, String informContent, String informTime, Integer releaseId) {
        return informMapper.getIsManyPeople(buid, informContent, informTime, releaseId);
    }

    @Override
    public int updateInforms(List<Integer> commentId) {
        return informMapper.updateInforms(commentId);
    }
}
